/**
 * 
 */
package BO.workBO;

import java.util.List;

import entities.MWorks;
import entities.Works;

/**
 * @author NhatHung
 *
 */
public interface WorkBO {
	public boolean post(Works w);

	public boolean update(Works w, int fixerId);

	public List<MWorks> getListMain(int pageIndex, int pageSize);

	public List<MWorks> getListSearch(String searchKey, int workType,
			int location, int pageIndex, int pageSize);
}
